<template>
  <div class="definite">
    <u-navbar
      :is-back="true"
      :custom-back="BackM"
      title="底座详情"
      back-text=""
    >
    </u-navbar>
    <div class="em_message">
      <span class="em_me">· 基础信息 ·</span>
      <span class="img-one">
        <img src="../../../style/image/order/B3.png" alt="" />
        <span>导航</span>
      </span>
    </div>
    <div class="item-content">
      <div class="img-two">
        <!-- <img src="../../../style/image/order/B1.jpg" alt="" /> -->
      </div>
      <div class="item-one">
        <div class="name">拉卡拉总代理</div>
      </div>
      <div class="item-one">
        <div class="time">铺货时间：2020-08-12</div>
      </div>
      <div class="item-one">
        <div class="address">
          地址：安徽省合肥市瑶海区珍珠路8号区 珍珠路8号区珍珠路8号区珍珠路
        </div>
      </div>
    </div>
    <div class="em_message">
      <div class="em_me">· 商户分润 ·</div>
    </div>
    <div class="item-two">
      <div class="item">
        <span>联系人</span>
        <span class="item-three">曾伟</span>
      </div>
      <div class="item">
        <span>联系电话</span>
        <span class="item-three">18078876787</span>
      </div>
      <div class="item">
        <span>商户分润金额</span>
        <span class="item-three">¥9.00</span>
      </div>
      <div class="item">
        <span>绝对分润</span>
        <span class="item-three">50.0%</span>
      </div>
      <div class="item">
        <span>手续费</span>
        <span class="item-three">10.0%</span>
      </div>
      <div class="item">
        <span>查看订单权限</span>
        <span class="item-three">已开启</span>
      </div>
      <div class="item">
        <span>查看商户分润比例权限</span>
        <span class="item-three">已开启</span>
      </div>
    </div>
    <div class="em_message">
      <div class="em_me">· 充电宝设备资费 ·</div>
    </div>
    <div class="item-two">
      <div class="item">
        <span>计费模式</span>
        <span class="item-three">60分钟制</span>
      </div>
      <div class="item">
        <span>计费单价</span>
        <span class="item-three">2.00元</span>
      </div>
      <div class="item">
        <span>封顶值</span>
        <span class="item-three">20.00元</span>
      </div>
    </div>
    <div class="em_message">
      <span class="em_me">· 设备U600 SN(76567656) ·</span>
      <span class="img-one">
        <span>弹出设备</span>
      </span>
    </div>
    <div class="item-two">
      <div class="item">
        <span>充电宝SN码</span>
        <span class="item-three">
          <span>123456、</span>
          <span style="color: #ff0000">676567</span>
          <span>、567890</span>
        </span>
      </div>
      <div class="item-three">567655、345643、234567</div>
      <div class="care">（注：红色代表其他代理的充电宝）</div>
    </div>
    <button class="button">解绑设备</button>
  </div>
</template>

<script lang='ts' >
import { Component, Prop, Vue, Watch, Emit } from "vue-property-decorator";

@Component({
  //   @Component  是一个装修器   不可以在下面写语句
  name: "test",
})
export default class extends Vue {
  @Prop({
    type: String, // 父组件传递给子组件的数据类型
    required: false, // 是否必填
    default: " ", // 默认值， 如果传入的是 Object，则要 default: ()=>({}) 参数为函数
  })
  msg!: string;

  created() {}

  mounted() {
    //  console.log('父组件传递的参数:',this.$parent)   //暂时不考虑
    //  uni.navigateTo({
    // url: './selectBusin'
    // });
  }
}
</script>

<style  scoped>
.definite {
  font-family: PingFang SC;
  background: #f3f5f7;
  height: 100%;
}
uni-page-body {
  height: 100%;
}
.em_message {
  background: #ffffff;
  padding: 0.8rem;
  margin: 0.5rem 0.5rem 0 0.5rem;
  border-radius: 0.3rem 0.3rem 0 0;
  border-bottom: 0.04rem #ffe5e5e5 solid;
}
.em_me {
  font-size: 0.78rem;
  font-weight: 500;
  color: #000000;
}
.img-one {
  float: right;
  font-size: 0.6rem;
  font-family: PingFang SC;
  font-weight: 500;
  color: #02af74;
  line-height: 1rem;
}
.img-one img {
  width: 0.7rem;
  height: 0.55rem;
  padding-right: 0.2rem;
}
.item-content {
  padding: 0.7rem;
  margin: 0 0.5rem 0.5rem 0.5rem;
  height: 5rem;
  background: #ffffff;
  font-family: PingFang SC;
  margin-bottom: 0.03rem;
  border-radius: 0 0 0.3rem 0.3rem;
  border-bottom: 0.03rem #e5e5e5 solid;
}
.img-two {
  float: left;
  width: 4.9rem;
  height: 4.9rem;
  background: #e5e5e5;
  border-radius: 0.4rem;
}
.item-one {
  padding-left: 0.6rem;
  float: left;
  width: 12rem;
}
.item-two {
  margin: 0 0.5rem 0.5rem 0.5rem;
  padding: 0.5rem 0.4rem;
  background: #ffffff;
  font-size: 0.68rem;
  border-radius: 0 0 0.3rem 0.3rem;
  font-family: PingFang SC;
  font-weight: 400;
  color: #333333;
}
.item-three {
  float: right;
}
.item {
  line-height: 1.4rem;
}
.name {
  font-size: 0.7rem;
  font-family: PingFang SC;
  font-weight: 500;
  color: #000000;
  line-height: 1.2rem;
}
.time {
  font-size: 0.6rem;
  font-family: PingFang SC;
  font-weight: 400;
  color: #333333;
  line-height: 1.5rem;
}
.address {
  font-size: 0.65rem;
  font-family: PingFang SC;
  font-weight: 400;
  color: #333333;
  line-height: 1rem;
}
.care {
  padding: 1.8rem 0 0.5rem 0;
  font-size: 0.55rem;
  font-family: PingFang SC;
  font-weight: 400;
  color: #333333;
  background: #ffffff;
  text-align: center;
}
.button {
  margin-top: 1rem;
  font-size: 0.8rem;
  font-family: PingFang SC;
  font-weight: 500;
  color: #ffffff;
  line-height: 2.5rem;
  height: 2.5rem;
  background: #02af74;
  border-radius: 0;
}
</style>